import service from "../utils/request";

export const departmentAdd = (data)=>{
    return service.request({
        url:"/department/add/",
        method:"post",
        data
    })
}
export const departmentEdit = (data)=>{
    return service.request({
        url:"/department/edit/",
        method:"post",
        data
    })
}
export const departmentList = (data)=>{
    return service.request({
        url:"/department/list/",
        method:"post",
        data
    })
}

export const departmentStatus = (data)=>{
    return service.request({
        url:"/department/status/",
        method:"post",
        data
    })
}
export const departmentDelete = (data)=>{
    return service.request({
        url:"/department/delete/",
        method:"post",
        data
    })
}

export const departmentDetailed = (data)=>{
    return service.request({
        url:"/department/detailed/",
        method:"post",
        data
    })
}

